package com.chapter6.lianxi.demo1;


/**
 * 坦克
 */
public class Tank extends Population{


    public Tank(int HP, int AP, int num) {
        super(HP, AP, num);
    }

    @Override
    public void attack() {
        System.out.println("Tank attack");

    }
}
